package com.todod.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.todod.model.CatalogDetail;

/**
 * @author dyl
 * @date 2022-09-05
 */
public interface CatalogDetailMapper extends BaseMapper<CatalogDetail> {

	Integer getSortNumByDepartIdAndParentId(@Param("parentId") Long parentId);

	CatalogDetail getInfo(@Param("code") Long code);

	List<CatalogDetail> getTreeListInAuthority(@Param("classifyId") Long classifyId);

}
